package com.peanut.mapper;

import com.peanut.entity.PO.TabOrderItemPO;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author author
 * @since 2022-05-28
 */
public interface TabOrderItemMapper extends BaseMapper<TabOrderItemPO> {

    @Select("select * from tab_order_item ORDER BY item_price / order_money asc")
    List<TabOrderItemPO> selectMoney();
}
